package com.peace.hospital.entity.common;

import com.baomidou.mybatisplus.annotation.TableField;
import com.peace.hospital.entity.system.Position;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author xie
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Staffinfoandposition implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer posid;

    private Integer staid;

    @TableField(exist = false)
    private Position position;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getPosid() {
        return posid;
    }

    public void setPosid(Integer posid) {
        this.posid = posid;
    }

    public Integer getStaid() {
        return staid;
    }

    public void setStaid(Integer staid) {
        this.staid = staid;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }
}
